/*
 * Camera.h
 *
 *  Created on: 22.05.2011
 *      Author: 123
 */

#ifndef CAMERA_H_
#define CAMERA_H_
/*
 * Camera.h
 *
 *  Created on: 22.05.2011
 *      Author: 123
 */

class sCamera{
	public:
	static int DelX;
	static int DelY;
	int x,y;

	void Calc(int *x,int *y,int *DrawX,int *DrawY){
		this->x=(*x-DelX);
		*DrawX=*x-this->x;
		this->y=(*y-DelY);
		*DrawY=*y-this->y;
	}


};




#endif /* CAMERA_H_ */
